package lab2.test18;

public class Test01 {
    public static void main(String[] args) {
        String name="my name is network crazy";
        System.out.println(name.length());
        System.out.println("字符串第一个字符："+name.charAt(0));
        System.out.println("字符串最后一个字符："+name.charAt(name.length()-1));
        System.out.println("字符串第一个单词："+name.charAt(name.length()));


        //打印第一个单词



    }
}
